#ifndef __QMYSWL_DATABASE_MANAGER__
#define __QMYSWL_DATABASE_MANAGER__

#include "databasemngr.h"

class QMySqlDatabaseManager : public DatabaseManager
{
  public:
    QMySqlDatabaseManager();
    virtual ~QMySqlDatabaseManager();

    virtual bool     openDatabase();
    virtual bool     closeDatabase();
    virtual QString  getLastError();

    QSqlDatabase     getSqlDataBase();

protected:
    QSqlDatabase database;

};


#endif //__QMYSWL_DATABASE_MANAGER__
